﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VipSys.DataLayer;
using VipSys.SystemEntity;

namespace VipSys
{
    public partial class ViewLog : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string szID = Request["ID"].ToString();
                LogInfo logInfo=new LogInfo();
                short shRet = LogAccess.Instance.GetLog(szID, ref logInfo);
                if (shRet != SystemData.ReturnValue.OK)
                    return;
                this.txtMessage.Text = logInfo.Message;
            }
        }
    }
}